Comment on JavaScript to Swift communication you can use webView.evaluateJavaScript or WKUserContentController to add user script. Programming Languages Swift Aug ’21